donnemartin / donnemartin/dev-setup

Issue 1: Inconsistent file extensions in HTMLExporter and LatexExporter

Open
#112 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.3k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Body:
The `HTMLExporter` and `LatexExporter` classes both inherit from `Exporter` and define a `file_extension` attribute. However, they are incorrectly set to "txt" instead of "html" and "tex" respectively. This will result in the converted files having the wrong extension, making them harder to open with the appropriate tools. The `Exporter` class defines it as "txt" but child classes should override this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.